﻿using Newtonsoft.Json.Linq;

namespace NetEasyMusic.Lib.Models;

public class ArtistModel
{
    public ArtistModel()
    {
    }

    public ArtistModel(JToken token)
    {
        Id = token["id"]?.ToObject<string>()!;
        Name = token["name"]?.ToObject<string>()!;
    }

    public string Id { get; init; } = "";
    public string Name { get; set; } = "";
    public string PicUrl { get; set; } = "";
}